<include file="__THEME__/header" />
<script type="text/javascript" src="__PUBLIC__/js/jquery.form.js"></script>
<script type="text/javascript" src="{:U('weibo/plugins/init')}"></script>
<script type="text/javascript" src="__PUBLIC__/js/jquery.autocomplete.js"></script>

<div class="content"><!-- 内容 begin  --> 
  <include file="__THEME__/center_menu" />
  <div class="main">
    <div class="mainbox">
      
      <div class="mainbox_C">
      <div style="overflow:hidden;">
        
           <div> <form action="{:U('center/index/qiugou')}" id="quick_search_form" method="post">
    <div class="soso br3">
      <label id="_header_search_label" style="display: block;" onclick="$(this).hide();$('#_header_search_text').focus();">搜同校求购</label>
      <input type="text" class="so_text" value="" name="k" id="_header_search_text" onblur="if($(this).val()=='') $('#_header_search_label').show();"/><input name="" type="button" onclick="$('#quick_search_form').submit()" class="so_btn hand br3"/></div>
	<script>
	if($('#_header_search_text').val()=='')
		$('#_header_search_label').show();
	else
		$('#_header_search_label').hide();
	</script>
</form>
           <h1>{$myschool['school']}</h1></div>
            <div class="tab-menu clear"><!-- 切换标签 begin  -->
              <ul>
                <li><a id="feed_colleague_item" rel="colleague" class="feed_item" href="{:U('center/Index/index')}"><span>销售信息</span></a></li>
				
                <li><a id="feed_all_item" rel="all" class="on feed_item" href="{:U('center/Index/qiugou')}"><span>求购信息</span></a></li>
               
              </ul>
            </div>
            
        <div class="feedBox">
          <div id="countNew"> </div>
          <ul class="feed_list" <eq name='type' value=''> id="feed_list"</eq>>
<php>if($goodslist){</php>           
            <volist id="vo" name="goodslist">

              <li class="lineD_btm" id="list_li_{$vo.id}">
                <div class="userPic">
                <space uid="vo.uid" >{uavatar}</space>
                
                </div>
                <div class="feed_c">
                  <div class="msgCnt">{$vo['uname']}:&nbsp;&nbsp; <a href="{:U('shop/index/goods',array('uid'=>$vo['uid'],'gid'=>$vo['id']))}">{$vo['title']}</a> </div>
                  <div class="feed_c_btm"> 
	                  <span class="right">
	                    <php>if( $vo['uid'] == $mid ){</php>
	                    <a href="javascript:void(0)" onclick="ui.confirm(this,'确认要删除这条微博?')" callback="weibo.deleted({$vo.id})">删除</a>&nbsp;&nbsp;
	                    <php>}</php>
	                   &nbsp;&nbsp;|&nbsp;&nbsp; 
						<a href="">编辑</a>
			     </span> 
					   价格：{$vo['gprice']} &nbsp;&nbsp;  数量：{$vo['gnumber']}  &nbsp;&nbsp;<cite><a href="{:U('home/space/detail',array('id'=>$vo['id']))}">{$vo.utime|friendlyDate}</a></cite> 
					 
				  </div>
                  <div id="comment_list_{$vo.id}" style=""></div>
                </div>
              </li>
              </volist>
<php>}else{</php>	
			<li class="lineD_btm" id="list_li_{$vo.feed_id}">
                <!--   动态显示方式   -->
                <div class="feed_c">
                  <div class="msgCnt">{$vo.title}
                    <p>你所在的学校暂求购信息，  点击<a href="{:U('index/index/qiugou')}">这里</a>查看更多</p>
                  </div>
                  
			</li>
<php>}</php>			  
          
          </ul>
		  
          	<p>{$page}</p>
		  
        </div>
        
        </div>
        <div class="c"></div>
      </div>
    </div>
  </div>
</div>
<!-- 内容 end --> 

<!-- 用@提到的人 begin-->
<div class="atwho" id="searchUser" style="display:none;">
  <dl>
    
    <!--
                <dd class="ucr">张小小</dd>
                <dd>张大妮</dd>
                <dd>冷大少</dd>
				-->
    
  </dl>
</div>
<!-- 用@提到的人 end --> 


<include file="__THEME__/footer" /> 